package com.smedi.ismedi.notification.api.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author: xulinjun
 * @Date: 2021-7-2 10:16
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SmsTemplateRequest implements Serializable {
    @ApiModelProperty(value = "模板id")
    private Long smsTemplateId;

    @ApiModelProperty(value = "模板名称", required = true)
    @NotBlank(message = "模板名称为空！")
    private String templateName;

    @ApiModelProperty(value = "模板内容", required = true)
    @NotBlank(message = "模板内容为空！")
    private String templateContent;

    @ApiModelProperty(value = "备注说明", required = true)
    @NotBlank(message = "备注说明为空")
    private String remark;
}
